package www.shuang.orders.pojo;

import java.util.Date;

/**
 * 管理员的POJO
 * 
 * @author wangshSxt
 *
 */
public class AOrdersPay
{
	private int id;
	private int ordersId;
	private Date repayDate;
	private double loanMoney;
	private double remainMoney;
	private double overdueMoney;
	private int overdueDay;
	private byte status;
	private Date createTime;
	private Date updateTime;

	/* 字符串描述 */
	private String statusStr;

	public String getStatusStr()
	{
		/*
		 * 状态:0:未还款;10:还款中;20:已还款
		 */
		if (this.status == 0)
		{
			this.statusStr = "未还款";
		} else if (this.status == 10)
		{
			this.statusStr = "还款中";
		} else if (this.status == 20)
		{
			this.statusStr = "已还款";
		}
		return statusStr;
	}

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getOrdersId()
	{
		return ordersId;
	}

	public void setOrdersId(int ordersId)
	{
		this.ordersId = ordersId;
	}

	public Date getRepayDate()
	{
		return repayDate;
	}

	public void setRepayDate(Date repayDate)
	{
		this.repayDate = repayDate;
	}

	public double getLoanMoney()
	{
		return loanMoney;
	}

	public void setLoanMoney(double loanMoney)
	{
		this.loanMoney = loanMoney;
	}

	public double getRemainMoney()
	{
		return remainMoney;
	}

	public void setRemainMoney(double remainMoney)
	{
		this.remainMoney = remainMoney;
	}

	public double getOverdueMoney()
	{
		return overdueMoney;
	}

	public void setOverdueMoney(double overdueMoney)
	{
		this.overdueMoney = overdueMoney;
	}

	public int getOverdueDay()
	{
		return overdueDay;
	}

	public void setOverdueDay(int overdueDay)
	{
		this.overdueDay = overdueDay;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}
}
